<%@ page contentType="text/html;charset=UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<c:set var="extLibs" value=""/>
<sys:header title="文章详情" extLibs="${extLibs}"/>
<style type="text/css">
.blog-item {padding:0 50px}
.blog-item h2 {text-align:center;border-bottom:1px solid #ddd;padding-bottom:20px;}
.blog-item blockquote {margin:28px 20px 10px 40px;border-color:#E84D1C;font-size:13px;}
.blog-item div.content {margin-top:25px;font-size:14px;line-height:28px;}
.blog-item .blog-info {list-style:none;padding:8px 0;margin:15px 0 12px 0;border:solid 1px #ECEBEB;border-width:1px 0;}
.blog-item .blog-info li {padding:0;padding-left:13px;margin-right:10px;border-left:solid 1px #ECEBEB;color:#555;font-size:13px;display:inline-block;}
.blog-item .blog-info li:first-child {padding-left:0;border-left:none;}
.blog-item .blog-info li i {color:#E84D1C;}
</style>
<div class="portlet box ${boxStyleColor} autoHeight">
	<div class="portlet-title">
		<div class="caption"><i class="fa fa-file-text-o"></i>文章详情</div>
	</div>
	<div class="portlet-body form">
		<form:form id="inputForm" modelAttribute="article" action="${ctx}/cms/article/save" method="post" class="form-horizontal">
			<div class="row">
				<div class="col-md-12 col-sm-12 blog-item">
					<h2>${article.title}</h2>
					<c:if test="${not empty article.description}">
						<blockquote>摘要：${article.description}</blockquote>
					</c:if>
					<div class="content uparse">${article.articleData.content}</div>
					<div class="clearfix"></div>
					<ul class="blog-info">
						<li><i class="fa fa-list-alt"></i>所在栏目：${article.category.categoryName}</li>
						<li><i class="fa fa-user"></i>创建者：${article.createByName}</li>
						<li><i class="fa fa-calendar"></i>更新时间： <fmt:formatDate value="${article.updateDate}" pattern="yyyy-MM-dd HH:mm:ss"/></li>
						<li><i class="fa fa-comments"></i>来源：${fns:getDictLabel(article.source, 'cms_source', '')} ${not empty article.copyfrom ? '，转自：' : ''}${article.copyfrom}</li>
						<li><i class="fa fa-tags"></i>关键词：${not empty article.keywords ? article.keywords : '无'}</li>
					</ul>
				</div>
			</div>
			<div class="form-actions fluid">
				<div class="row">
					<div class="col-xs-12">
						<div class="col-sm-offset-2 col-sm-10">
							<button id="btnCancel" type="button" class="btn default" onclick="closeCurrentTabPage('${param.parentTabPageId}')"><i class="fa fa-reply-all"></i> 关 闭</button>
						</div>
					</div>
				</div>
			</div>
		</form:form>
	</div>
</div>
<sys:footer extLibs="${extLibs}"/>
<script type="text/javascript" src="${ctxStatic}/ueditor/1.4.3/ueditor.parse.min.js"></script>
<script>uParse('.uparse', {ctxStatic: '${ctxStatic}', rootPath: '${ctxStatic}/ueditor/1.4.3/',
	chartContainerHeight:500,'liiconpath':'${ctxStatic}/ueditor/1.4.3/themes/ueditor-list/'})</script>